package com.db.patterns.flyweight;

public class Client {
    public static void main(String[] args) {
        FlyweightFactory flyweightFactory = new FlyweightFactory();
        Flyweight flyweight1 = flyweightFactory.getFlyweight("key1");
        flyweight1.operation();
        Flyweight flyweight2 = flyweightFactory.getFlyweight("key2");
        flyweight2.operation();
    }
}
